package com.globallogic.oopbasics.competence.exception;

/**
 * @author olena.strelchuk
 */
/*
 * LevelException is thrown in Competency constructors when Level is not in the
 * range of [0 .. 100] (from 0 to 100%).
 */
public class LevelException extends Exception {

	private static final long serialVersionUID = 5745232285701681774L;
	
	public double level;

	public LevelException(double level) {
		super("Level should be between 0 and 100 percent!");
		this.level = level;
	}

}